package samfeng.erp.location.convert;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import samfeng.erp.location.controller.vo.*;
import samfeng.erp.location.dal.dataobject.LocationDO;

/**
 * 仓库库位 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface LocationConvert {

    LocationConvert INSTANCE = Mappers.getMapper(LocationConvert.class);

    LocationDO convert(LocationCreateReqVO bean);

    LocationDO convert(LocationUpdateReqVO bean);

    LocationRespVO convert(LocationDO bean);

    List<LocationRespVO> convertList(List<LocationDO> list);

    PageResult<LocationRespVO> convertPage(PageResult<LocationDO> page);

    List<LocationExcelVO> convertList02(List<LocationDO> list);

}
